package edu.bit.water.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import edu.bit.water.entity.EntityEvaEntPrdInfo;

@Mapper
@Repository
public interface EntityEvaEntPrdInfoDao {
	
	//新增记录
	int insert(EntityEvaEntPrdInfo entityEvaEntPrdInfo);
	//根据主键删除记录
	int deleteId(int id);
	//根据外键删除记录
	int deleteFd(int fd);
	//更新记录
	int update(EntityEvaEntPrdInfo entityEvaEntPrdInfo);
	//根据外键查询所有记录
	List<EntityEvaEntPrdInfo> select(int id);
}
